export enum API_BASE {
  BASE_URL = 'https://api.lianzhitong.com/',
  BASE_CONFIG = 'https://read.lianzhitong.com/',
  TEST_URL = 'https://test.lianzhitong.com/',
}
export enum API_PARAMS {
  LOGIN = 'api/read/Chaizi/PhoneLogin',
  REGISTER = 'api/read/Chaizi/Register',
  LOGOUT = 'api/read/Chaizi/shiziUserLogout',
  PinYinList = 'api/v2/xhzd/pinyin', //运行
  BuShouList = 'api/v2/xhzd/bushou', //运行
  QUERYHANZI = 'api/v2/xhzd/query', //{"reason":"返回成功","result":{"id":"033b0a8e37859eaf","zi":"你","py":"ni","wubi":"wqiy","pinyin":"nǐ","bushou":"亻","bihua":"7","jijie":["你","nǐ","称对方，多称指一个人，有时也指称若干人：你厂。你方。","泛指任何人：你死我活。","您","","笔画数：7；","部首：亻 ；","笔顺编号：3235234"],"xiangjie":["你","妳","nǐ","【代】","(形声。从人,尔声。本义:称说话的对方)","同本义〖you〗","武平元年童谣曰:“狐截尾,你欲除我我除你。”——《隋书·五行志上》","又如:你咱(你);你懑(你们);你娘(骂人的话,相当于“你娘的”);你老(对尊长的敬称);你那(你老人家);你伫(您);你等(你们)","不明确指明的集团中的某一个体;任何一个;一般的一个〖one〗。如:三个人你看看我,我看看你,谁也没说话","泛指任何一个人;无论什么人;无论哪一个人〖anyone,anybody〗。如:他的才学叫你不得不佩服","每人;人人〖everybody,everyone〗。如:你一言,我一语,谈得很热 闹","","你好","nǐhǎo","〖howdoyoudo;howareyou;hello〗用于有礼貌的打招呼或表示与人见面时的问候","你们","nǐmen","〖you〗与之说话的一些 人","我到时候通知你们","你死我活","nǐsǐ-wǒhuó","〖life-and-death;mortal〗形容斗争十分尖锐","你死我活的斗争","你争我夺","nǐzhēng-wǒduó","〖whoop-de-do〗指相互争夺","这种你争我夺的场面还不少","你追我赶","nǐzhuī-wǒgǎn","〖leapfrog;catchupandovertakeoneanother〗","相互 轮流走过身边或向前面越过","巨大的卡车和小型汽车沿着公路你追我赶","比喻在前进的道路上竞赛,有褒义","各车间、各小组都在你追我赶争上游"]},"error_code":0}
  QUERYBUSHOU = 'api/v2/xhzd/querybs', //运行
  QUERYID = 'api/v2/xhzd/queryid',
  QUERYSORT = 'api/v2/xhzd/querypy_sort', //运行
  QUERYPINYIN = 'api/v2/xhzd/querypy',
}
export enum API_PARAMS_JISU {
  //多音字{"status":0,"result":{"name":"中","pinyin":"zhōng,zhòng","bihua":4,"bushou":"丨","jiegou":"单一结构","bishun":"丨フ一丨","wubi":"KHK","english":[" attain;  center, middle;  hit (target);  in the midst of; central"],"explain":[{"pinyin":"zhōng","content":"\n1. 和四方、上下或两端距离同等的地位：～心。当（dàng）～。～原。～华。\n2.在一定范围内，里面：暗～。房～。～饱。\n3.性质或等级在两端之间 的：～辍（中途停止进行）。～等。～流砥柱。\n4.表示动作正在进行：在研究～。\n5.特指“中国”：～式。～文。\n6.适于，合于：～看。\n"},{"pinyin":"zhòng","content":"\n1.恰好合上：～选。～奖。～意（会意，满意）。\n2.受到，遭受：～毒。～计。\n3.科举考试被录取：～举。～状元。\n"}],"gif":"http://lianzhitong.com/api/v2/gif?word=Aqsang2Swwc%3D","shareURL":"http://lianzhitong.com/download.html","isCommon":true},"msg":"ok"}
  QUERY_WORD = '/api/v2/zidian/word', //{"status":0,"result":{"name":"你","pinyin":"nǐ","bihua":7,"bushou":"亻","jiegou":"左右结构","bishun":"ノ丨ノフ丨ノ丶","wubi":"WQIY","english":["you, second person pronoun"],"explain":[{"pinyin":"nǐ","content":"\n1.称对方，多称指一个人，有时也指称若干人：～厂。～方。\n2.泛指任何人：～死我活。\n"}],"gif":"https://api.lianzhitong.com/api/v2/gif?word=qF0HkqDSXak%3D","shareURL":"https://api.lianzhitong.com/download.html","isCommon":true},"msg":"ok"}
  QUERY_IDOM = '/api/v2/chengyu/list', //成语集合
  QUERY_WORD_DETAIL = '/api/v2/cidian/word', //词语详情
  QUERY_PY = '/api/v2/xhzd/querypy',
}

export enum API_RES {
  DOWNLOAD = `${API_BASE.BASE_CONFIG}res/iteracy/shziNozipLn/`, //下载
  VIDEO = `${API_BASE.BASE_URL}res/video/`, //视频API
  PRICE = 'api/read/ZDianpay/GetZidinPrice', //价格列表
}

export enum API_PAY {
  CREAT_ORDER = 'api/read/Chaizi/create_order',
  QUERY_ORDER = 'api/read/Chaizi/query_order',
}

export enum API_TIME {
  //read.lianzhitong.com/api/read/OnlineConfigController/checkFeatureStatus
  QUERY_TIME = 'api/read/OnlineConfigController/checkFeatureStatus',
}
